#ifndef HPLC_QINFINE_COLLECTOR_PARSEPACKET_H
#define HPLC_QINFINE_COLLECTOR_PARSEPACKET_H

#include "common/hplcqinfineparsecommonpacket.h"
#include "modulehplccollectordefine.h"

namespace hplc
{
namespace qinfine
{

class HplcQinfineCollectorProtocolData;
class HplcQinfineCollectorParsePacket : public HplcQinfineParseCommonPacket
{
    Q_OBJECT
public:
    HplcQinfineCollectorParsePacket(HplcQinfineCollectorProtocolData &data, CollectorParam &param, QObject *parent = nullptr);
    virtual ~HplcQinfineCollectorParsePacket() override;

    virtual void parseSet(quint8 pfc, char *data) override;
    virtual void parseGet(quint8 pfc, char *data) override;

signals:
    void setChannel(quint8 channel);
    void getChannel();
    void setBottleNumber(quint16 number);
    void getBottleNumber();
    void setStartStop(quint8 isStart);
    void getStartStop();
    void setNumberPattern(quint8 pattern);
    void getNumberPattern();
    void setPrevStart();
    void setNextStart();
};

} // qinfine
} // hplc

#endif // HPLC_QINFINE_COLLECTOR_PARSEPACKET_H
